"""
env.py


"""
import os
# 接口项目URL
URL = "http://192.168.1.111:8080"
# 项目的根路径:
BASE_DIR = os.path.dirname(os.path.dirname(__file__)) # 获取自身所在路径
# 系统日志文件的所在目录
LOG_DIR = os.path.join(BASE_DIR+"\log")

url = "http://localhost/ranzhi/www"

DB_ENV = {"username":"root","password": "", "host":"127.0.0.1", "dbname":"ranzhi", "port":3306
        }

if __name__ == '__main__':
    print(LOG_DIR)